//package com.info.zhiduoduo.admin.controller;
//
//import com.info.zhiduoduo.admin.model.formbean.project.QueryNonstandardProjectFormBean;
//import com.info.zhiduoduo.admin.model.formbean.project.SaveNonstandardProjectFormBean;
//import com.info.zhiduoduo.admin.service.NonstandardProjectService;
//import com.info.zhiduoduo.common.constants.SmartResult;
//import com.info.zhiduoduo.common.formbean.BaseSimpleFormBean;
//import com.info.zhiduoduo.repository.entity.project.NonstandardProject;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.annotation.Resource;
//import javax.validation.Valid;
//
///**
// * @author tianyonghong
// * @create 2023/4/16
// */
//@Api(tags = "非标项目接口")
//@RestController
//@RequestMapping("/nonstandard")
//public class NonstandardProjectController {
//
//    @Resource
//    private NonstandardProjectService nonstandardProjectService;
//
//    //新增/修改
//    @ApiOperation("新增/修改非标项目")
//    @PostMapping("/save")
//    public SmartResult<NonstandardProject> saveOrUpdate(@RequestBody @Valid BaseSimpleFormBean<SaveNonstandardProjectFormBean> formBean) {
//        return nonstandardProjectService.saveOrUpdate(formBean);
//    }
//
//    //查询
//    @ApiOperation("查询非标项目列表")
//    @PostMapping("/queryList")
//    public SmartResult<NonstandardProject> queryList(@RequestBody BaseSimpleFormBean<QueryNonstandardProjectFormBean> formBean) {
//        return nonstandardProjectService.queryList(formBean);
//    }
//
//    //完成
//    @ApiOperation("完成非标项目")
//    @PostMapping("/complete")
//    public SmartResult complete(@RequestBody BaseSimpleFormBean<Integer> formBean) {
//        return nonstandardProjectService.complete(formBean);
//    }
//
//    //删除
//    @ApiOperation("删除非标项目")
//    @PostMapping("/del")
//    public SmartResult del(@RequestBody BaseSimpleFormBean<Integer> formBean) {
//        return nonstandardProjectService.del(formBean);
//    }
//}
